package com.mvc.action;

import java.util.HashMap;

public class ActionView {
	
	private String path = "";
	
	private HashMap<String,Object> attrMap = new HashMap<String,Object>();
	
	public ActionView(String path){
		this.path = path;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public HashMap<String, Object> getAttrMap() {
		return attrMap;
	}

	public void setAttrMap(HashMap<String, Object> attrMap) {
		this.attrMap = attrMap;
	}
	
	public void addObject(String key,Object object){
		attrMap.put(key, object);
	}
}
